/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Connects;

import Packets.pkValue;
import StaticClass.ArrSocket;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Oho
 */
public class TCP  implements Connect{

    public boolean Connect(ServerSocket sv) {
        while(true){
        Socket sk =null;
        try {
         
            sk = sv.accept();
        } catch (IOException ex) {
            Logger.getLogger(TCP.class.getName()).log(Level.SEVERE, null, ex);
        
        }
        if(sk.isConnected())
        {
             //pkValue pk = new pkValue();
             
        }
       
    }
    }
}
